package routers

import (
	"operator/routers/check"
	"operator/routers/exec"
	"operator/routers/rebuild"

	"github.com/gin-gonic/gin"
)

func RegisterRoutes(r *gin.Engine) {
	apiGroup := r.Group("/api")
	rebuild.RegisterSubRouter(apiGroup)
	check.RegisterSubRouter(apiGroup)
	exec.RegisterSubRouter(apiGroup)
}
